package com.mini;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author zhangxiaobin
 * @title: AppRun
 * @date 2019/10/2518:37
 */
@SpringBootApplication
@EnableCaching
@EnableEurekaClient
@EnableFeignClients
@EnableAsync
@EnableScheduling
public class AppRun {

    public static void main(String[] args) {
        System.setProperty("es.set.netty.runtime.available.processors", "false");
        SpringApplication.run(AppRun.class, args);
    }

}
